package com.cgsrp.cgsrp_baby.service;

import com.cgsrp.cgsrp_baby.domain.Baby;
import com.cgsrp.cgsrp_baby.domain.vo.BabyVo;
import com.cgsrp.cgsrp_baby.domain.vo.PicVo;
import com.cgsrp.cgsrp_baby.domain.vo.PicsVo;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface BabyService {

    PicsVo getPics(int userId, String disc, int PageNum, int pageSize);

    List<Baby> getBabies(int userId);

    boolean addBaby(Baby baby,Integer userId,String relationship);

    String uploadVideo(Integer babyId, String describe, MultipartFile fileCover, MultipartFile file,Integer userId);

    String uploadPhotos(Integer babyId, String describe, MultipartFile[] photo, Integer userId);

}
